<jsp:directive.include file="/jsp/includes/taglibs.jsp" />

<form:form commandName="accountSettingsCommand">
	<fieldset class="full">
		<legend><spring:message code="settings.legend"/></legend>
		<div class="left_50">
		
 			<label class="long" for="emailAllow"><spring:message code="settings.emailAllow"/></label> 
 	 		<form:checkbox path="emailAllow"/>
	 		<form:errors path="emailAllow" cssClass="error"/>
	  		<br/><br/>
	
 			<label class="long" for="emailHide"><spring:message code="settings.emailHide"/></label> 
 	 		<form:checkbox path="emailHide"/>
	 		<form:errors path="emailHide" cssClass="error"/>
	  		<br/><br/>
	  		
 			<label class="long" for="genderHide"><spring:message code="settings.genderHide"/></label> 
 	 		<form:checkbox path="genderHide"/>
	 		<form:errors path="genderHide" cssClass="error"/>
	  		<br/><br/>
	  		
 			<label class="long" for="msgAllow"><spring:message code="settings.msgAllow"/></label> 
 	 		<form:checkbox path="msgAllow"/>
	 		<form:errors path="msgAllow" cssClass="error"/>
	  		<br/><br/>	  			  		

 			<label class="long" for="titleDisplay"><spring:message code="settings.titleDisplay"/></label> 
 	 		<form:checkbox path="titleDisplay"/>
	 		<form:errors path="titleDisplay" cssClass="error"/>
	  		<br/><br/>	  		 				
 		
	 	</div>
	 	<div class="right_50">
	 		<label for="emailAllow"><spring:message code="settings.threadsPerPage"/></label>
			<form:select path="threadsPerPage" items="${threadCount}"/>
	 	</div>
	  	<div style="clear: both">
			<input type="submit" class="submitButton" id="submit" value="<spring:message code="settings.submit"/>"/>
		</div>  		
	</fieldset>
</form:form>		